SOUND POSITION Y

This command will return the current Y position of the 3D sound specified by Sound Number.

  Syntax
Return Float=SOUND POSITION Y(Sound Number)
  Parameters
Sound Number
Integer
The sound number

  Returns

The command will return the current Y position of the 3D sound specified by Sound Number

  Example Code
cls
load sound "man.wav",1
play sound 1
print "sound position y "+str$(sound position y(1))
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index